-- GENERATED SPELL FOR [Warsong Runner] --


function spell0_12863(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12863', 635, 1)
end

function Sorts_12863(pUnit, Event)
local choix_sorts_12863 = math.random(0, 0)
if choix_sorts_12863 == 0 then
pUnit:RegisterEvent('spell0_12863', 1, 1)
end
end

function mob12863_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12863', math.random(1500, 3000), 1)
end

function mob12863_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12863_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12863_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12863, 1, 'mob12863_Action')
RegisterUnitEvent(12863, 2, 'mob12863_Leave')
RegisterUnitEvent(12863, 3, 'mob12863_Kill')
RegisterUnitEvent(12863, 4, 'mob12863_Die')
